<div class="container-fluid form-horizontal">

	<div class="col-xs-12 col-md-12 mt10">

		<div class="form-group">
			<label class="col-sm-2 col-xs-12 control-label">游团名称</label>
			<div class="col-sm-4 col-xs-12">
				<input type="text" class="form-control" placeholder="游团名称" ng-model="info.tourgroup_name">
			</div>
			<!-- <div class="col-sm-6 mt10">
				<font face="Courier" class="text-danger">此名称用于设置改产品的预约名称</font>
			</div> -->
		</div>
		
		<div class="form-group">
			<label class="col-sm-2 col-xs-12 control-label">出发地</label>
			<div class="col-sm-4 col-xs-12">
				<input type="text" class="form-control" placeholder="出发地" ng-model="info.adress_start">
			</div>
			<!-- <div class="col-sm-6 mt10">
				<font face="Courier" class="text-danger">此名称用于设置改产品的预约须知</font>
			</div> -->
    </div>
    
    <div class="form-group">
			<label class="col-sm-2 col-xs-12 control-label">目的地</label>
			<div class="col-sm-4 col-xs-12">
				<input type="text" class="form-control" placeholder="目的地" ng-model="info.adress_end">
			</div>
			<!-- <div class="col-sm-6 mt10">
				<font face="Courier" class="text-danger">此名称用于设置改产品的预约须知</font>
			</div> -->
    </div>
    
    <div class="form-group">
        <label class="col-sm-2 col-xs-12 control-label">出游时间</label>
        <div class="col-sm-4 col-xs-12">
             <div class="input-group" datetimepicker ng-model="time.date" options="time.options">
                <input class="form-control"/>
                <span class="input-group-addon">
                    <span class="glyphicon glyphicon-calendar"></span>
                </span>
            </div>
        </div>
    </div>
    
    <div class="form-group">
			<label class="col-sm-2 col-xs-12 control-label">预设轨迹</label>
			<div class="col-sm-6 col-xs-12" style="float:left;">
        <div class="col-sm-10" style="padding:0;">
          <input type="text" class="form-control" style="width:27%; display:inline-block;" placeholder="出发地名称" ng-model="info.adress_start">
          <input type="text" class="form-control" style="width:27%; display:inline-block;" placeholder="出发地经度" ng-model="info.start_log">
          <input type="text" class="form-control" style="width:27%; display:inline-block;" placeholder="出发地纬度" ng-model="info.start_lat">
          <input type="text" class="form-control" style="width:11.1%; display:inline-block;" placeholder="排序" ng-model="info.startno">
          <button class="btn btn-primary" style="width:6%;text-align:center;margin-top:-4px;" ng-click="add()">＋</button>
        </div>
        <div id="infolist" ng-repeat="item in infolist">
          <!-- 未来无限途径地加入此DIV -->
          <div class="col-sm-10 mt2" style="padding:0;">
            <input type="text" class="form-control" style="width:27%; display:inline-block;" ng-change="upd($index);" placeholder="途径地名称" ng-model="item.center_name">
            <input type="text" class="form-control" style="width:27%; display:inline-block;" ng-change="upd($index);" placeholder="途径地经度" ng-model="item.center_log">
            <input type="text" class="form-control" style="width:27%; display:inline-block;" ng-change="upd($index);" placeholder="途径地纬度" ng-model="item.center_lat">
            <input type="text" class="form-control" style="width:11.1%; display:inline-block;" ng-change="upd($index);" placeholder="排序" ng-model="item.center_no">
            <button class="btn btn-danger" style="width:6%;text-align:center;margin-top:-4px;" ng-click="remove($index)">－</button>
          </div>
        </div>
        <div class="col-sm-10 mt2" style="padding:0;">
          <input type="text" class="form-control" style="width:27%; display:inline-block;" placeholder="目的地名称" ng-model="info.adress_end">
          <input type="text" class="form-control" style="width:27%; display:inline-block;" placeholder="目的地经度" ng-model="info.end_log">
          <input type="text" class="form-control" style="width:27%; display:inline-block;" placeholder="目的地纬度" ng-model="info.end_lat">
          <input type="text" class="form-control" style="width:11.1%; display:inline-block;" placeholder="排序" ng-model="info.endno">
        </div>
			</div>
			<div class="col-sm-6 mt10 text-center">
				<font face="Courier" class="text-danger">*请按照正整数顺序添加途径地排序(正整数顺序1~99)</font>
			</div>
    </div>
    
		<div class="col-xs-8 text-center">
		<br/>
		<br/>
		<button class="btn btn-success" ng-click="save()">保存</button>
		<br/>
		<br/>
		<br/>
    <br/>
    
    


    
	</div>

	</div>

</div>